import request from '@/plugin/axios'
import { sysPath } from '@api/sys.common'

export function getWeinxinUrl(data) {
	return request({
		url: sysPath + '/admin/v1/oauth/getAuthUrl',
		method: 'post',
		params: data
	})
}

export function saveWeixinOpenid(data) {
	return request({
		url: sysPath + '/admin/v1/oauth/bindUserAuth',
		method: 'post',
		params: data
	})
}